package com.APIObject.String_;

public class Test {
    public static void main(String[] args) {
        //掌握StringBuilder的好处
//        String rs="";
//        for (int i = 0; i <=1000000 ; i++) {
//            rs=rs+"abc";
//        }
//        System.out.println(rs);
        StringBuilder sb=new StringBuilder();
        for (int i = 0; i <=1000000 ; i++) {
            sb.append("abc");

        }
        System.out.println(sb);
    }
}
